package com.sansan.qiangji.service.inter.warehouse;

import com.sansan.qiangji.entity.warehouse.PullOrderDetail;
import com.sansan.qiangji.entity.warehouse.example.PullOrderDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PullOrderDetailService {
    List<PullOrderDetail> findByProductCodeOrProductName(String productCode, String productName);

    int insertPullOrderDetails(List<PullOrderDetail> pullOrderDetails);

    long countByExample(PullOrderDetailExample example);

    int deleteByExample(PullOrderDetailExample example);

    int deleteByPrimaryKey(Integer pullOrderDetailId);

    int insert(PullOrderDetail record);

    int insertSelective(PullOrderDetail record);

    List<PullOrderDetail> selectByExample(PullOrderDetailExample example);

    PullOrderDetail selectByPrimaryKey(Integer pullOrderDetailId);

    int updateByExampleSelective(@Param("record") PullOrderDetail record, @Param("example") PullOrderDetailExample example);

    int updateByExample(@Param("record") PullOrderDetail record, @Param("example") PullOrderDetailExample example);

    int updateByPrimaryKeySelective(PullOrderDetail record);

    int updateByPrimaryKey(PullOrderDetail record);
}
